home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / Telnet 2.6.1d1 4⁄26⁄94 Folder / source / ftp / ftppi.h < prev    next >
Text File  |  1993-03-18  |  1KB  |  111 lines

  1. #define FTPCOMMANDS    23228
  2. #define NCMDS    51
  3.  
  4. #define    QMARK   1
  5. #define BANG    2
  6. #define ACCT    3
  7. #define ASCII    4
  8. #define BELL    5
  9. #define BGET    6
  10. #define BINARY  7
  11. #define BPUT    8
  12. #define BYE      9
  13. #define CD       10
  14. #define CLOSE    11
  15. #define DELT    12
  16. #define DEBUG    13
  17. #define DIR      14
  18. #define GET      15
  19. #define GLOB     16
  20. #define HASH     17
  21. #define HELP     18
  22. #define INTERACTIVE 19
  23. #define LCD      20
  24. #define LDIR    21
  25. #define LLS        22
  26. #define LS        23
  27. #define MACB    24
  28. #define MDELETE 25
  29. #define MDIR     26
  30. #define MGET     27
  31. #define MKDIR    28
  32. #define MLS      29
  33. #define MODE     30
  34. #define MPUT     31
  35. #define NONINTERACTIVE 32
  36. #define OPEN     33
  37. #define PROMPT  34
  38. #define PUT      35
  39. #define PWD      36
  40. #define QUIT     37
  41. #define QUOTE    38
  42. #define RECV     39
  43. #define REMOTEHELP 40
  44. #define RENAME  41
  45. #define RM        42
  46. #define RMDIR    43
  47. #define SEND     44
  48. #define SENDPORT 45
  49. #define SLASHFLIP 46
  50. #define STATUS  47
  51. #define STRUCT  48
  52. #define TYPE    49
  53. #define USER     50
  54. #define VERBOSE 51
  55.  
  56. #if 0
  57. static char *ftp_cmdlist[] = {
  58.     "?",
  59.     "!",
  60.     "acct",
  61.     "ascii",
  62.     "bell",
  63.     "bget",
  64.     "binary",
  65.     "bput",
  66.     "bye",
  67.     "cd",
  68.     "close",
  69.     "delete",
  70.     "debug",
  71.     "dir",
  72.     "get",
  73.     "glob",
  74.     "hash",
  75.     "help",
  76.     "interactive",
  77.     "lcd",
  78.     "ldir",
  79.     "lls",
  80.     "ls",
  81.     "macb",
  82.     "mdelete",
  83.     "mdir",
  84.     "mget",
  85.     "mkdir",
  86.     "mls",
  87.     "mode",
  88.     "mput",
  89.     "noninteract",
  90.     "open",
  91.     "prompt",
  92.     "put",
  93.     "pwd",
  94.     "quit",
  95.     "quote",
  96.     "recv",
  97.     "remotehelp",
  98.     "rename",
  99.     "rm",
  100.     "rmdir",
  101.     "send",
  102.     "sendport",
  103.     "slashflip",
  104.     "status",
  105.     "struct",
  106.     "type",
  107.     "user",
  108.     "verbose"
  109.     };
  110. #endif
  111.